<!DOCTYPE HTML>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="maximum-scale=1.0, minimum-scale=1.0, user-scalable=0, initial-scale=1.0, width=device-width"/>
    <meta name="format-detection" content="telephone=no, email=no, date=no, address=no">
    <title>WinC</title>
    <link rel="stylesheet" type="text/css" href="css/api.css" />
    <link rel="stylesheet" type="text/css" href="css/box.css" />
    <script type="text/javascript" src="script/public.js"></script>
    <style>
    	p{
    		color:#999;
    		padding:5px;
    	}
    </style>
    <script type="text/javascript">
        var leidenSDK = null;
		apiready = function(){
			leidenSDK = api.require('leidenSDK');
			var json = {"mac":"DC:0D:30:64:FB:D6"};
	        leidenSDK.connect(json,function(ret,err) {
                console.log(JSON.stringify(ret));
            })

<!--            leidenSDK.scan(function(ret,err) {-->
<!--                console.log(JSON.stringify(ret));-->
<!--            })-->

	    }
	</script>
</head>
<body>
<div id="wrap">

</div>
</body>
</html>